Crate rspack_error
source ·Re-exports§
Modules§
Macros§
Structs§
- Handle anyhow::Error Please try NOT to use this as much as possible.
- Multiple errors to represent different kinds of errors. NEVER implement this with miette::Diagnostic, because it makes code hard to maintain.
- Convenience
Diagnostic
that can be used as an “anonymous” wrapper for Errors. This is intended to be paired with [IntoDiagnostic
]. - (message, stack, backtrace, hide_stack)
- A helper struct for change logic from return something to something with diagnostics array
- Warning
Enums§
Traits§
- Useful to convert std::error::Error to crate::DiagnosticError